package com.itheima.service;

import com.itheima.pojo.Brand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author げっしょく
 * @date 2021/9/8
 */
public interface BrandService {

    void insert(Brand brand);

    void delByIdAfter(int id);

    void update(Brand brand);

    List<Brand> selectAll();

    void delarray(int[] ids);

    List<Brand> selectByPage(int index, int page);

    int selectCount();


    List<Brand> selectByPageAndcond(int index, int page, Brand brand);

    int selectCountAndcond(Brand brand);
}
